package net.mingsoft.basic.util;

import java.util.UUID;

/**
 * @author gengfa
 * @date 22/01/13
 */
public class UniqueCodeUtil {

    private static final String TARGET = "-";

    private static final String REPLACEMENT = "";

    private UniqueCodeUtil() {}

    public static String genCode() {
        return UUID.randomUUID().toString().replace(TARGET, REPLACEMENT);
    }
}
